﻿using EMall.Application;
using EMall.Query;

namespace EMall.ProductService.ProductSkus
{
    public interface IProductSkuAppService : IApplicationService
    {
        Task CreateAsync(CreateProductSkuDto input);
        Task UpdateAsync(UpdateProductSkuDto input);
        Task AddStockAsync(AddProductSkuStock input);
        Task RemoveStockAsync(RemoveProductSkuStock input);
        Task<ProductSkuDto> GetAsync(int id);
        Task<IPagedList<ProductSkuListDto>> GetPagedListAsync(GetProductSkuPagedListQueryDto input);
    }
}